-- GENERATED SPELL FOR [Scarlet Avenger] --


function spell0_4493(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_4493', 575, 1)
end

function Sorts_4493(pUnit, Event)
local choix_sorts_4493 = math.random(0, 0)
if choix_sorts_4493 == 0 then
pUnit:RegisterEvent('spell0_4493', 1, 1)
end
end

function mob4493_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4493', math.random(1500, 3000), 1)
end

function mob4493_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4493_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4493_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4493, 1, 'mob4493_Action')
RegisterUnitEvent(4493, 2, 'mob4493_Leave')
RegisterUnitEvent(4493, 3, 'mob4493_Kill')
RegisterUnitEvent(4493, 4, 'mob4493_Die')
